package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
@Data
@TableName("t_staff")
@ApiModel(value = "Staff对象", description = "员工表")
@AllArgsConstructor
@NoArgsConstructor
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("员工编号")
    private String code;

    private String account;

    private String password;

    @ApiModelProperty("员工姓名")
    private String name;

    @ApiModelProperty("0男1女")
    private Integer sex;

    @ApiModelProperty("民族")
    private String nation;

    @ApiModelProperty("身份证")
    private String identityCard;

    private String phone;

    @ApiModelProperty("未婚、已婚未育、已婚已育")
    private String marriage;

    @ApiModelProperty("居住地")
    private String placeOfResidence;

    @ApiModelProperty("简介")
    private String briefIntroduction;

    private String image;

    @ApiModelProperty("试用期、在职、离职、停薪留职、禁用")
    private String status;

}
